package com.wwj.core.server.entity.mapper;

import com.wwj.core.server.entity.ControlServerConnect;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ControlServerConnectMapper {
    ControlServerConnect getById(Object id);

    List<ControlServerConnect> selectByParam(Map<String, Object> param);

    ControlServerConnect selectByControlServerIdAndConnectServerName(@Param("controlServerId") Integer controlServerId, @Param("connectServerName") String connectServerName);

    int save(ControlServerConnect connect);

    int update(ControlServerConnect connect);

}
